<table class="education-info" id="legend-box-<?php echo $education->id?>" <?php echo (!$current) ? "style='display:none'" : ""?>>
	<tr valign="top">
		<td class="" style="vertical-align: top"><strong>Thành tích học tập</strong></td>
		<td class="border-bottom border-right border-left">
			<?php if (!empty($visit)) :?>
				<table>
				<?php foreach ($visit as $visit_detail):?>
					<tr>
						<td>
							<table style="margin-bottom: 0px;" cellpadding="2">
								<?php $comment = $visit_detail->visit_comment;?>
								<?php $trName 	= '<tr>';?>
								<?php $trScore 	= '<tr>';?>
									<?php /*foreach ($subjects as $subject):?>
											<?php $trName 	.= '<td align="center" style="min-width:30px;"><code>'.CHtml::encode($subject->name).'</code></td>'?>
											<?php $trScore 	.= '<td align="center"><strong>'.CHtml::encode($subject->score).'</strong></td>'?>
									<?php endforeach;*/?>
								<?php echo $trName 	.= '<td align="center"><code class="summary">'.CHtml::encode($visit_detail->date).'</code></td></tr>';?>
								<?php echo $trScore .= '<td align="center"><strong>'.CHtml::encode($comment).'</strong></td></tr>';?>
							</table>
						</td>
					</tr>
				<?php endforeach;?>
				</table>
			<?php else :?>
				Chưa cập nhật
			<?php endif?>
		</td>
	</tr>
</table>